/**
 * 
 */
package org.mspring.crm.client.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.extjs.gxt.ui.client.data.BaseModelData;

/**
 * @author Gao Youbo
 * @since 2012-3-7
 * 
 *        return (\w+); return get("$1");
 * 
 *        this\.(\w+) = (\w+); set("$1", $2);
 */
public class UserModel extends BaseModelData {
    public Integer getId() {
        return get("id");
    }

    public void setId(Integer id) {
        set("id", id);
    }

    public Integer getLevel() {
        return get("level");
    }

    public void setLevel(Integer level) {
        set("level", level);
    }

    public String getName() {
        return get("name");
    }

    public void setName(String name) {
        set("name", name);
    }

    public String getPassword() {
        return get("password");
    }

    public void setPassword(String password) {
        set("password", password);
    }

    public Integer getGender() {
        return get("gender");
    }

    public void setGender(Integer gender) {
        set("gender", gender);
    }

    public String getEmail() {
        return get("email");
    }

    public void setEmail(String email) {
        set("email", email);
    }

    public String getHomepage() {
        return get("homepage");
    }

    public void setHomepage(String homepage) {
        set("homepage", homepage);
    }

    public String getMsn() {
        return get("msn");
    }

    public void setMsn(String msn) {
        set("msn", msn);
    }

    public String getQq() {
        return get("qq");
    }

    public void setQq(String qq) {
        set("qq", qq);
    }

    public Date getLastvisit() {
        return get("lastvisit");
    }

    public void setLastvisit(Date lastvisit) {
        set("lastvisit", lastvisit);
    }

    public Integer getStatus() {
        return get("status");
    }

    public void setStatus(Integer status) {
        set("status", status);
    }

    public String getIntro() {
        return get("intro");
    }

    public void setIntro(String intro) {
        set("intro", intro);
    }

    public String getIp() {
        return get("ip");
    }

    public void setIp(String ip) {
        set("ip", ip);
    }
}
